// samsting : this file is auto create.

#include "Alert/2015-08-15/ListDBSourceRequest.h"

namespace aliyun { namespace Alert {

ListDBSourceRequest::ListDBSourceRequest() : RoaAcsRequest("Alert", "2015-08-15", "ListDBSource") {
  SetUriPattern("/projects/[ProjectName]/sources");
  SetMethod("GET");
}

const string& ListDBSourceRequest::GetProjectName(void) const {
  return ProjectName_;
}
void ListDBSourceRequest::SetProjectName(const string& ProjectName) {
  ProjectName_ = ProjectName;
  PutPathParameter("Path", ProjectName_);
}

const string& ListDBSourceRequest::GetSourceName(void) const {
  return SourceName_;
}
void ListDBSourceRequest::SetSourceName(const string& SourceName) {
  SourceName_ = SourceName;
  PutPathParameter("Query", SourceName_);
}

int ListDBSourceRequest::GetPage(void) const {
  return Page_;
}
void ListDBSourceRequest::SetPage(int Page) {
  Page_ = Page;
  PutPathParameter("Query", string_ValueOfInt(Page_));
}

int ListDBSourceRequest::GetPageSize(void) const {
  return PageSize_;
}
void ListDBSourceRequest::SetPageSize(int PageSize) {
  PageSize_ = PageSize;
  PutPathParameter("Query", string_ValueOfInt(PageSize_));
}


} } // namespace aliyun { namespace Alert {

// end of file 
